package com.teamwork_backend.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author windy
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Companys implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 企业唯一标示	
     */
    @TableId(value = "companyid", type = IdType.ID_WORKER_STR)
    private String companyid;

    /**
     * 用户登录账户	
     */
    private String account;

    /**
     * 用户登录密码	
     */
    private String password;

    /**
     * 0企业1平台	
     */
    @TableField("`type`")
    private Integer type;

    /**
     * 创建时间（自动）	
     */
    private Date createtime;


}
